#include "ShadowMapLoader.h"


namespace SEngine
{
    Camera ShadowMapLoader<DirectLight>::UpdateCameraData(glm::mat4 matrix)
    { 
        Camera camera;
        camera.SetUp(matrix * glm::vec4{0.0f, 1.0f, 0.0f, 0.0f});
        camera.SetFront(matrix * glm::vec4(1.0f, 0.0f, 0.0f, 0.0f));
        camera.SetPos(matrix * glm::vec4{0.0f, 0.0f, 0.0f, 1.0f});
        // camera.SetZNear(m_light.ZNear());
        // camera.SetZFar(m_light.ZFar());
        // camera.SetSize(m_light.Size());
        camera.SetType(CameraType::Ortho);
        return camera;
    }

    Camera ShadowMapLoader<PointLight>::UpdateCameraData(glm::mat4 matrix)
    {
        Camera camera;
        return camera;
    }

} // namespace SEngine
